#main { overflow: hidden }

.nw, .ne, .sw, .se { background: url(rounded_corners.gif) no-repeat }

.n { background: url(rounded_n.gif) top repeat-x }
.s {
	background: url(rounded_s.gif) bottom repeat-x;
	overflow: hidden;
	zoom: 1;
	}
.e { background: url(rounded_e.gif) right repeat-y }
.w { background: url(rounded_w.gif) left repeat-y }

.nw { background-position: -20px -20px }
.ne {
	background-position: right -20px;
	margin: 0 -20px 0 0;
	padding: 0 20px 0 0;
	}
.sw {
	background-position: -20px bottom;
	margin: 0 0 -20px 0;
	padding: 0 0 20px 0;
	}
.se {
	background-position: right bottom;
	margin: 0 -20px -20px 0;
	padding: 0 20px 20px 0;
	}